package com.eqdd.yiqidian.bean;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by lvzhihao on 17-6-13.
 */

public class FourBean implements Parcelable {
    String first;
    String second;
    String third;
    String four;

    public FourBean(String first, String second, String third, String four) {
        this.first = first;
        this.second = second;
        this.third = third;
        this.four = four;
    }

    public String getFirst() {
        return first;
    }

    public void setFirst(String first) {
        this.first = first;
    }

    public String getSecond() {
        return second;
    }

    public void setSecond(String second) {
        this.second = second;
    }

    public String getThird() {
        return third;
    }

    public void setThird(String third) {
        this.third = third;
    }

    public String getFour() {
        return four;
    }

    public void setFour(String four) {
        this.four = four;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.first);
        dest.writeString(this.second);
        dest.writeString(this.third);
        dest.writeString(this.four);
    }

    protected FourBean(Parcel in) {
        this.first = in.readString();
        this.second = in.readString();
        this.third = in.readString();
        this.four = in.readString();
    }

    public static final Parcelable.Creator<FourBean> CREATOR = new Parcelable.Creator<FourBean>() {
        @Override
        public FourBean createFromParcel(Parcel source) {
            return new FourBean(source);
        }

        @Override
        public FourBean[] newArray(int size) {
            return new FourBean[size];
        }
    };
}
